package com.tree.thrive.business.el.service;

import lombok.extern.slf4j.Slf4j;
import org.springframework.beans.factory.annotation.Value;
import org.springframework.stereotype.Service;

import java.util.List;

/**
 * top-tree
 *
 * @Auther: cheng.tang
 * @Date: 2023/1/14 4:00 PM
 * @Description:
 */
@Service
@Slf4j
public class ValueServiceImpl implements ValueService {

    @Value("${ssp.pass.intranet.prefix:10.,127.}")
    private List<String> intranetIpPrefix;

    @Override
    public void printList() {
        for (String ipPrefix : intranetIpPrefix) {
            log.info("intranetIpPrefix {} ", intranetIpPrefix);
            log.info("ipPrefix {} ", ipPrefix);
        }
    }

}
